package com.book.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.book.entity.User;
import com.book.mapper.UserMapper;
import com.book.request.GetUserReq;

public interface UserService  extends IService<User>{
    public User findUserByUserName(String username);

    public Page getUsers(GetUserReq getUserReq);

    public void add(User user);

    public void grantAdmin(String uId);
}
